Returns a position of the specified item within the collection, or -1 if not found.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Function IndexOf ( _
	item As T _
) As Integer
C#
public int IndexOf(
	T item
)

Parameters

item
Type: T
Item to find.

Return Value

Zero-based position of the item; or -1 if not found.

Implements

IList<(Of <(<'T>)>)>..::..IndexOf(T)

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also